projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
435c8c9
)
examples: Strip newlines from g_warning and g_error
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 28 Feb 2016 17:19:09 +0000
(12:19 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 28 Feb 2016 17:23:12 +0000
(12:23 -0500)
g_logv adds one for us already.
examples/plugman.c
patch
|
blob
|
history
diff --git
a/examples/plugman.c
b/examples/plugman.c
index 3e7e02aeee5f7f0a3842bfa680027fadd446f44a..03c633d4458ca40361dc9fa2f6f8b5e07fe28f0e 100644
(file)
--- a/
examples/plugman.c
+++ b/
examples/plugman.c
@@
-249,7
+249,7
@@
enable_plugin (const gchar *name)
g_print ("Menus of '%s' plugin added\n", name);
}
else
- g_warning ("Plugin menu not found
\n
");
+ g_warning ("Plugin menu not found");
if (g_strcmp0 (name, "red") == 0)
is_red_plugin_enabled = TRUE;
@@
-284,7
+284,7
@@
disable_plugin (const gchar *name)
}
}
else
- g_warning ("Plugin menu not found
\n
");
+ g_warning ("Plugin menu not found");
g_action_map_remove_action (G_ACTION_MAP (g_application_get_default ()), name);
g_print ("Actions of '%s' plugin removed\n", name);